fn main() {

    let st1 = String::from("Long String is Long");
    let result;
    {
        let st2 = String::from("xyz");
        result = longest(st1.as_str(), st2.as_str());
        println!("{}", result);
    }
    // println!("{}", result);

}

fn longest<'a:'b, 'b>(x: &'a str, y:&'b str)->&'b str{
    if x.len()>y.len(){
        x
    }else{
        y
    }
}
